package com.yicong.ants.manager.holder;

import android.content.Context;
import android.widget.ImageView;

import com.yicong.ants.manager.ImageHelper;
import com.stay4it.banner.loader.ImageLoader;

public class DetailBannerLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        String ivRes = String.valueOf(path);
        imageView.setScaleType(ImageView.ScaleType.CENTER_INSIDE);
        ImageHelper.loadImage(imageView,ivRes);
    }

}
